<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
  <style>
 .d1,.d2,.d3{
     width: 100px;
     height: 100px;
     background: #16af85;
     position: absolute;
     left: 10px;
 }

 .d1{
     z-index:10;
 }

 .d2{
     z-index: 11;
     background: #e97c1b;
     left: 60px;
 }

 .d3{
     background: #12FA62;
     left: 80px;
     z-index: 12;
 }
  </style>
</head>
<body>
<div class="d1"></div>
<div class="d2"></div>
<div class="d3"></div>
</body>
</html>